package com.mazihao.emos.db.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;

import java.io.Serializable;
import java.util.Date;

/**
 * @author mazihao
 */
@Data
public class TbMessageRef implements Serializable {
    @Id
    private Long id;

    private String messageId;

    private Integer receiverId;

    private Boolean readFlag;

    private Boolean lastFlag;

    private Date createTime;
}
